<?php
/**
 * A simple description for this script
 *
 * PHP Version 5.2.0 or Upper version
 *
 * @package    Iris
 * @author     Hidehito NOZAWA aka Suin <http://suin.asia>
 * @copyright  2010 Hidehito NOZAWA
 * @license    http://www.gnu.org/licenses/gpl-2.0.html GNU GPL v2
 *
 */

$dirname = basename(dirname(__FILE__));

// Main
$modversion['name']        = "ThemeSwitcher";
$modversion['version']     = 1.00;
$modversion['description'] = "This module is to switch theme by conditions.";
$modversion['credits']     = 'Hidehito NOZAWA aka Suin';
$modversion['author']      = 'Suin <http://suin.asia>';
$modversion['help']	       = 'ReadMe-Japanese.html';
$modversion['license']     = 'GNU GPL v2 see LISENCE';
$modversion['image']       = 'public/images/iris_logo.png'; // TODO >> trsut
$modversion['dirname']     = $dirname;

$modversion['hasMain'] = 1;

$modversion['hasAdmin']   = 1;
$modversion['adminindex'] = 'admin/index.php';
$modversion['adminmenu']  = 'admin/menu.php';

$modversion['hasSearch'] = 0;

$modversion['hasNotification'] = 0;

$modversion['hasComments'] = 0;

$modversion['onInstall']   = 'class/installer.php';
$modversion['onUpdate']    = 'class/installer.php';
$modversion['onUninstall'] = 'class/installer.php';

/*
$modversion['blocks'][] = array(
	'file'      => 'block.php',
	'name'      => Iris::t("New Themes").' none',
	'show_func' => 'iris_block_show',
	'options'   => 'New',
	'func_num'  => 1,
);
$modversion['blocks'][] = array(
	'file'      => 'block.php',
	'name'      => Iris::t("New Comments"),
	'show_func' => 'iris_block_show',
	'options'   => 'Comment',
	'func_num'  => 2,
);
$modversion['blocks'][] = array(
	'file'      => 'block.php',
	'name'      => Iris::t("Popular Themes"),
	'show_func' => 'iris_block_show',
	'edit_func' => 'iris_block_edit',
	'options'   => 'Popular|10|week',
	'func_num'  => 3,
);

$modversion['config'] = array(
	array(
		'name' 	 => 'file_size_max',
		'title'	 => Iris::t("File max size"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'int',
		'default'     => 3000000,
	),
	array(
		'name' 	 => 'file_exts',
		'title'	 => Iris::t("File extention"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'string',
		'default'     => 'zip',
	),
	array(
		'name' 	 => 'image_size_max',
		'title'	 => Iris::t("Image max size"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'int',
		'default'     => 3000000,
	),
	array(
		'name' 	 => 'image_exts',
		'title'	 => Iris::t("Image extention"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'string',
		'default'     => 'jpg,jpeg,png,gif',
	),
	array(
		'name' 	 => 'image_width',
		'title'	 => Iris::t("Image width"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'int',
		'default'     => 450,
	),
	array(
		'name' 	 => 'image_height',
		'title'	 => Iris::t("Image height"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'int',
		'default'     => 450,
	),
	array(
		'name' 	 => 'color_max',
		'title'	 => Iris::t("Color max"),
		'description' => '',
		'formtype'    => 'text',
		'valuetype'   => 'int',
		'default'     => 6,
	),
);
*/
?>
